package com.eastfair.venueservice.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.venueservice.dto.ServiceInventoryCheckQuery;
import com.eastfair.venueservice.entity.ServiceInventoryCheck;

import com.eastfair.venueservice.vo.ServiceInventoryCheckVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * 盘点记录
 * </p>
 *
 * @author linan
 * @date 2022-09-19
 */
@Repository
public interface ServiceInventoryCheckMapper extends SuperMapper<ServiceInventoryCheck> {

    /**
     * 查询盘点记录
     * @param page
     * @param wrapper
     * @return
     */
    Page<ServiceInventoryCheckVO> queryCheckList(Page<ServiceInventoryCheckQuery> page, @Param(Constants.WRAPPER) QueryWrapper<ServiceInventoryCheck> wrapper);
}
